<%@page contentType="text/html;charset=utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@taglib prefix="c1" uri="http://www.hynu.com.cn/mytag"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>生成订单 - 书生网</title>
<link href="/shopping/css/login.css" rel="stylesheet" type="text/css" />
<link href="/shopping/css/indentInfo.css" rel="stylesheet"
	type="text/css" />
<link href="/shopping/css/page_bottom.css" rel="stylesheet"
	type="text/css" />
</head>
<body>
	<%@include file="/common/headApple.jsp"%>
	<div class="login_step">
		生成订单骤: <span class="red_bold">1.确认订单</span> > 2.填写送货地址 > 3.订单成功
	</div>
	<div class="fill_message">
		<table class="tab_login">
			<tr>
				<td valign="top" class="w1" style="text-align: left"><b>序号</b>
				</td>
				<td valign="top" class="w1" style="text-align: left"><b>商品名称</b>
				</td>
				<td valign="top" class="w1" style="text-align: left"><b>商品单价</b>
				</td>
				<td valign="top" class="w1" style="text-align: left"><b>商品数量</b>
				</td>
				<td valign="top" class="w1" style="text-align: left"><b>小计</b>
				</td>
			</tr>

			<s:iterator value="items" var="item" status="sts">
				<!-- status属性:可选属性,该属性在迭代时会产生一个IteratorStatus对象,该对象可以判断当前元素的位置 -->
				<!-- 订单开始 -->
				<tr>
					<td valign="top">${sts.count }</td>
					<td valign="top">${item.product.productName }</td>
					<td valign="top">${item.product.dangPrice }</td>
					<td valign="top">${item.num }</td>
					<td valign="top"><c1:retainTwo /></td>
				</tr>

				<!-- 订单结束 -->
			</s:iterator>

			<tr>
				<td valign="top" class="w1" style="text-align: left" colspan="5">
					<b>总价￥${totalDang }</b>
				</td>
			</tr>
		</table>
		<br /> <br /> <br />
		<div class="login_in">
			<a href="/shopping/cart/viewAction"><input id="btnClientRegister"
				class="downtbutton" name="downtbutton" type="submit" /></a>&nbsp;&nbsp;&nbsp;
			<a href="/shopping/indent/addressForm"><input
				id="btnClientRegister" class="nextbutton" name="nextbutton"
				type="submit" /></a>
		</div>

	</div>
	<%@include file="/common/foot.jsp"%>
</body>
</html>

